from django.shortcuts import render
from api.views import error, render

from flagship.models import Flagship 

def list_(request):
    flagship_list = Flagship.objects.filter(enabled=True)
    return render({"flagships": flagship_list})
